package com.libinyn.base.pms.entity.sys;


import com.libinyn.base.pms.entity.BaseModel;
import org.hibernate.validator.constraints.NotBlank;

import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;


/**
 * 系统配置信息
 * @fileName: SysConfigEntity.java
 * @author: bin.li01
 * @date: 2017/12/4 15:04 
 * @version: v1.0.0
 */
@Table(name = "sys_config")
public class SysConfigEntity extends BaseModel{

	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY,generator = "JDBC")
	private Long id;
	/**
	 * key
	 */
	@NotBlank(message="参数名不能为空")
	private String key;
	/**
	 * 值
	 */
	@NotBlank(message="参数值不能为空")
	private String value;
	/**
	 * 描述
	 */
	private String remark;
	
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getKey() {
		return key;
	}
	public void setKey(String key) {
		this.key = key;
	}
	public String getValue() {
		return value;
	}
	public void setValue(String value) {
		this.value = value;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
}
